package io.renren.modules.app.service;

import io.renren.common.utils.Query;
import io.renren.modules.sys.entity.*;

import java.util.HashMap;
import java.util.List;

public interface ApiSongService {
    List<SongsetEntity> recommendSongset(Query query);

    List<SongEntity> recommendSong(Query query);

    List<SongsetEntity> newSongset(Query query);

    List<SongEntity> newSong(Query query);

    List<SongsetEntity> recommendSongsetAll(Query query);

    List<SongEntity> recommendSongAll(Query query);

    List<SongsetEntity> newSongsetAll(Query query);

    List<SongEntity> newSongAll(Query query);

    SongsetEntity songsetInfo(Long id);

    List<SongEntity> querySongBySongsetId(Long id);

    List<SongsetEntity> queryListByClassify(Query query);

    List<SearchEntity> searchWord();

    List<SongsetEntity> querySongsetByKeyWords(String keywords);

    List<SongEntity> querySongByKeyWords(String keywords);

    void addToHistory(HistoryEntity historyEntity);

    List<HistoryEntity> getHistory(Long userId);

    SongEntity querySongById(Long mediaId);

    VedioEntity queryVedioById(Long mediaId);

    int recommendSongsetAllCount(Query query);

    int recommendSongAllCount(Query query);

    int newSongsetAllCount(Query query);

    int newSongAllCount(Query query);

    int queryListByClassifyCount(Query query);

    int historyCount(HashMap<String, Object> map);

    List<TeachEntity> queryTeachByKeyWords(String keywords);

    List<SongsetEntity> queryGroupSongsetList(Long id);
}
